package com.example.mapper;
import com.example.entity.Merchant;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface MerchantMapper {
    void insertMerchant(Merchant merchant);

    Merchant selectByAccountId(@Param("aId") Long aId);

    void approveMerchant(@Param("mId") Long mId);

    void rejectMerchant(@Param("mId") Long mId, @Param("reason") String reason);

    List<Merchant> selectPendingMerchants();
}
